{ stdenv, pkgs, fetchurl }:

stdenv.mkDerivation rec {
  name = "gyro";
  version = "0.6.0";
  src = fetchurl {
    url = "https://github.com/mattnite/gyro/releases/download/${version}/gyro-${version}-linux-x86_64.tar.gz";
    sha256 = "0x6xp8v1f1r9b1hcj5ym1alhyh65yj9kf3fzgdk28ybr75gpm51b";
  };

  installPhase = ''
    mkdir -p $out/bin
    cp -r ./bin $out/
  '';
}
